/**
 * 
 */
package br.srv.full.virtual.entities.ids;

import javax.persistence.Embeddable;

/**
 * @author Delfino
 * 
 */
@Embeddable
public class FederalId extends BaseId {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * @param p_value
	 */
	public FederalId(String p_value) {
		setNumber(p_value);
	}


	{
		setType("FederalId");
	}

	/**
	 * 
	 */
	public FederalId() {
		super();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see br.srv.full.virtual.entities.ids.BaseId#toString()
	 */
	@Override
	public String toString() {
		return getType()+": "+getNumber() ;
	}
}
